<style>
	.loginbox{
		  width: 370px;
		  padding-top: 26px;
		  background-color: #fff;
		  border-radius: 5px;
		  box-shadow: 0 3px 3px rgba(0,0,0,.4);
		  background: #fff;
		  display: none;
	}
	.loginbox input._input{
		  width: 306px;
		  height: 28px;
		  border: 1px solid #d8d8d8;
		  border-radius: 4px;
		  font-size: 14px;
		  color: #666;
		  line-height: 28px;
		  padding: 6px 0 6px 12px;
		  box-shadow: 0 0 5px #fff;
		  outline: none;
		  transition: box-shadow 0.25s linear 0s;
		  -webkit-transition: box-shadow 0.25s linear 0s;
	}
	.loginbox input._input:focus{
		border:1px solid #ffa200; box-shadow:0 0 5px #ffa200; outline:none; transition:box-shadow 0.25s linear 0s; -webkit-transition:box-shadow 0.25s linear 0s;
	}
	.loginbox .form-link{
		  clear: both;
		  width: 320px;
		  margin: 0 auto;
		  padding: 8px 0 0;
		  text-align: right;
	}
	.loginbox ._forget{
	}
	.loginbox .submit-btn {
  		width: 320px;
  		margin: 0 auto;
  		padding: 12px 0 0;
	}
	.loginbox .submit-btn button{
		  width: 320px;
		  height: 42px;
		  border: none;
		  background-color: #ffa800;
		  border-radius: 5px;
		  text-align: center;
		  line-height: 40px;
		  color: #fff;
		  font-size: 18px;
		  font-weight: bold;
		  cursor: pointer;
	}
	.loginbox .form-field {
		  clear: both;
		  width: 320px;
		  margin: 0 auto;
		  padding-top: 10px;
	}
	.loginbox p{
		  padding: 15px 0 20px 0px;
		  font-size: 12px;
		  color: #999;
		  border-top: 1px solid #ebebeb;
		  display: block;
		  text-align: center;
	}
	.third_party{
		border-top : 1px dashed #ddd;
		text-align: center;
		margin-top: 10px;
		padding: 0;
		padding-bottom: 10px;
		padding-top: 10px;
	}
	.third_party a{
		display: inline-block;
		*display: inline;
	}
</style>
<div class='loginbox'>
	<form id='loginForm' action='/shop/index.php?act=login&op=ajaxLogin'>
		<input type='hidden' name='redirect' />
		<input type='hidden' name='loginType' value='0' />
		<div class="form-field">
			<input type="text" class='_input' name='user_name' autocomplete='off' placeholder='请输入您的账号'>
        </div>
		<div class="form-field">
			<input type="password" class='_input' name='password' placeholder='请输入您的密码'>
        </div>
		<div class='form-link'>
			<a href="?act=login&op=forget_password" class='_forget' target='_blank'>忘记密码</a>
		</div>
		<div class="submit-btn">
            <button type='submit'>登 录</button>
        </div>		
     	<?php if ($output['setting_config']['qq_isuse'] == 1 || $output['setting_config']['sina_isuse'] == 1){?>

        <div class='third_party nc-login-other'>
        	您还可以使用第三方账号登录
        	<div></div>
        	<?php if ($output['setting_config']['qq_isuse'] == 1){?>
     	 	<a href="<?php echo SHOP_SITE_URL;?>/api.php?act=toqq" title="QQ" class="qq">&nbsp;</a>
          	<?php } ?>
          	<?php if ($output['setting_config']['sina_isuse'] == 1){?>
          	<a href="<?php echo SHOP_SITE_URL;?>/api.php?act=tosina" title="<?php echo $lang['nc_otherlogintip_sina']; ?>" class="sina">&nbsp;</a>
          	<?php } ?>


        </div>
        <?php }?>
		<p>
			还没有账号？<a href="index.php?act=login&op=register">马上注册</a>
		</p>
	</form>
</div>